﻿<% if (Items.length > 0) { %>    
    <% _.each(Items, function(book) { %>
    <li class="icon-view">
        <a href="@Url.Action(MVC.Books.Index())/<%=book.Id%>"><img alt="<%=book.Name%>" src="@Url.Content("~/Uploads/")<%=book.Avatar%>" /></a>
        <h4><a href="@Url.Action(MVC.Books.Index())/<%=book.Id%>"><%=book.Name%></a></h4>
    </li>
    <% });%>
<% } else { %>
    <li class="empty">There are no books in this category.</li>
<% } %>